/**
 * 安卓白金英雄坛制作组 <br>
 * 文件名：Assets.java <br>
 * 创建时间：2013-5-20 下午4:38:50 <br>
 * 所属项目：GmudEX <br>
 * @author 12548 <br>
 */
package lostland.gmud.exv2;

import android.util.SparseArray;

import java.util.HashMap;

import lostland.gmud.exv2.blgframework.IPixmap;
import lostland.gmud.exv2.blgframework.Music;

/**
 * 类名：Assets <br>
 * 说明：
 *
 * @author 12548
 */
public class Assets {
	public static IPixmap maptile[];
	public static IPixmap mainchar[];
	public static IPixmap mainchar_famale[];

	public static IPixmap loading1, loading2;
	public static IPixmap arrow;
	public static IPixmap empty, filled, checked, checkedfilled;
	public static IPixmap hpfp, vs;
	public static IPixmap boom;
	public static IPixmap transfixed;
	public static IPixmap up, down, left, right;
	public static IPixmap enter, menu;
	public static HashMap<String, IPixmap> btns;
	public static HashMap<String, IPixmap> btns_pressed;
	public static IPixmap aup, adown, aleft, aright;
	public static IPixmap bup, bdown, bleft, bright;

	public static final SparseArray<Music> bgm_map = new SparseArray<>();
	public static Music bgm_battle;

	public static Music bgm;

//	public static Typeface ff;

	public static byte ascii12[], charGBK12[], charGBK16[];// Modified by 教头20130729


	public static IPixmap getMainchar() {
		if (mainchar == null) {
			LoadingScreen.loadAssets();
		}

		return mainchar[Gmud.tileset];
	}


	public static IPixmap getGirl() {
		return mainchar_famale[Gmud.tileset];
	}

	public static IPixmap getMapTile() {
		return maptile[Gmud.tileset];
	}


}
